home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / rawtoppm.1 < prev    next >
Text File  |  1995-07-25  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      rrrraaaawwwwttttooooppppppppmmmm((((1111))))     XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((00006666 FFFFeeeebbbbrrrruuuuaaaarrrryyyy 1111999999991111))))     rrrraaaawwwwttttooooppppppppmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           rawtoppm - convert raw RGB bytes into a portable pixmap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           rrrraaaawwwwttttooooppppppppmmmm [----hhhheeeeaaaaddddeeeerrrrsssskkkkiiiipppp _N] [----rrrroooowwwwsssskkkkiiiipppp _N] [----rrrrggggbbbb|----rrrrbbbbgggg|----ggggrrrrbbbb |----
  13.           ggggbbbbrrrr|----bbbbrrrrgggg|----bbbbggggrrrr ] [----iiiinnnntttteeeerrrrppppiiiixxxxeeeellll|----iiiinnnntttteeeerrrrrrrroooowwww] _w_i_d_t_h _h_e_i_g_h_t
  14.           [_i_m_a_g_e_d_a_t_a]
  15.  
  16.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.           Reads raw RGB bytes as input.  Produces a portable pixmap as
  18.           output.  The input file is just RGB bytes.  You have to
  19.           specify the width and height on the command line, since the
  20.           program obviously can't get them from the file.  The maxval
  21.           is assumed to be 255.  If the resulting image is upside
  22.           down, run it through ppppnnnnmmmmfffflllliiiipppp ----ttttbbbb ....
  23.  
  24.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  25.           ----hhhheeeeaaaaddddeeeerrrrsssskkkkiiiipppp
  26.                If the file has a header, you can use this flag to skip
  27.                over it.
  28.  
  29.           ----rrrroooowwwwsssskkkkiiiipppp
  30.                If there is padding at the ends of the rows, you can
  31.                skip it with this flag.
  32.  
  33.           ----rrrrggggbbbb ----rrrrbbbbgggg ----ggggrrrrbbbb ----ggggbbbbrrrr ----bbbbrrrrgggg ----bbbbggggrrrr
  34.                These flags let you specify alternate color orders.
  35.                The default is ----rrrrggggbbbb.
  36.  
  37.           ----iiiinnnntttteeeerrrrppppiiiixxxxeeeellll ----iiiinnnntttteeeerrrrrrrroooowwww
  38.                These flags let you specify how the colors are
  39.                interleaved.  The default is ----iiiinnnntttteeeerrrrppppiiiixxxxeeeellll, meaning
  40.                interleaved by pixel.  A byte of red, a byte of green,
  41.                and a byte of blue, or whatever color order you
  42.                specified.  ----iiiinnnntttteeeerrrrrrrroooowwww means interleaved by row - a row
  43.                of red, a row of green, a row of blue, assuming
  44.                standard rgb color order.  An ----iiiinnnntttteeeerrrrppppllllaaaannnneeee flag  - all
  45.                the red pixels, then all the green, then all the blue -
  46.                would be an obvious extension, but is not implemented.
  47.                You could get the same effect by splitting the file
  48.                into three parts (perhaps using _d_d), turning each part
  49.                into a PGM file with rawtopgm, and then combining them
  50.                with rgb3toppm.
  51.  
  52.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  53.           ppm(5), rawtopgm(1), rgb3toppm(1), pnmflip(1)
  54.  
  55.      AAAAUUUUTTTTHHHHOOOORRRR
  56.           Copyright (C) 1991 by Jef Poskanzer.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.